package PAPEscalable;

import org.semanticweb.owlapi.model.OWLClass;
import org.semanticweb.owlapi.model.OWLOntology;
import org.semanticweb.owlapi.model.OWLOntologyCreationException;

public class VerificarMultiplosPais {

	public static void main(String[] args) {
		PBMAlgorithm pap = new PBMAlgorithm();
		try {
			OWLOntology ontology = pap.readOWL("src/ontologies/SUMO(4558).owl");
			for (OWLClass c : ontology.getClassesInSignature()) {
				if (c.getSuperClasses(ontology).size() > 1) {
					System.out.println(c.toStringID() + " - " + c.getSuperClasses(ontology).size());
				}
			}
		} catch (OWLOntologyCreationException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

	}

}
